<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<title>中国刊网-申请主编</title>

<link href="css/space.css" rel="stylesheet" type="text/css" />

<script src="js/jquery-1.9.0.js" type="text/javascript"></script>
<script src="layer-v1.5.1/layer/layer.min.js" type="text/javascript"></script>
<script src="js/warningMsg.js" type="text/javascript"></script>
<script src="js/space.js" type="text/javascript"></script>
<script type="text/javascript">
//申请主编-验证是否已经提交过申请
$(function( ) {
	$.get("json/isAppliedChief", function(data) {
		if(data.result == true) {
			$("#chiefSubmit").attr("disabled", "disabled");
			new applyMsg();
		}
	});
});
//申请主编-验证是否已经提交过申请
</script>
<%--
<script src="js/WarnMessages.js"></script>
<script src="js/jquery.validate.min.js"></script>
--%>
</head>
<body>
	<div class="all">
		<div class="bodyge-left">
			<div class="bodyge-left-a1"><span class="font-b">申请主编</span></div>
			<div class="chang_cotactext-d7">
				<form  id="chiefForm" action="user/applyEditorChief" method="post" enctype="multipart/form-data">
				<table class="fontStyle">
					<tr id="companyMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">公司名称不能为空</td>
					</tr>
					<tr>
						<td width="18%">公司名称：</td>
						<td width="450px" height="40px;">
							<input id="company" name="company" type="text" onblur="chiefVali('company')" class="chang_cotactext-d5" />
						</td>
					</tr>
					<tr id="addressMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">公司地址不能为空</td>
					</tr>
					<tr>
						<td>公司地址：</td>
						<td height="40px;"><input id="address" name="editorChief.address" type="text" onblur="chiefVali('address')" class="chang_cotactext-d1" /></td>
					</tr>
					<tr id="businessIdMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">营业执照号不能为空</td>
					</tr>
					<tr>
						<td>营业执照号：</td>
						<td height="40px;"><input id="businessId" name="editorChief.businessId" type="text" onblur="chiefVali('businessId')" class="chang_cotactext-d1" /></td>
					</tr>
					<tr id="businessImgMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">营业执照不能为空</td>
					</tr>
					<tr>
						<td>营业执照：</td>
						<td height="40px;"><input id="businessImg" type="file" onblur="chiefVali('businessImg')" name="businessImg" size="40" height="25px" /></td>
					</tr>
					<%--
					<tr>
						<td></td>
						<td height="40px;"><textarea name="1" style=" width:450px; height:160px;" class="from-c"></textarea></td>
					</tr>
					--%>
					<tr id="codeIdMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">代码证号不能为空</td>
					</tr>
					<tr>
						<td>代码证号：</td>
						<td height="40px;"><input id="codeId" name="editorChief.codeId" type="text" onblur="chiefVali('codeId')" class="chang_cotactext-d1" /></td>
					</tr>
					<tr id="codeImgMsg" class="periodicalWarning">
						<td colspan="2" class="chiefMsg">代码证编号不能为空</td>
					</tr>
					<tr>
						<td>代码证编号:</td>
						<td height="40px;"><input id="codeImg" type="file" onblur="chiefVali('codeImg')" name="codeImg" size="40" onchange="javascript:PreviewImg(this);" /></td>
					</tr>
					<%--
					<tr>
						<td></td>
						<td height="40px;"><textarea name="1"  style=" width:450px; height:160px;"></textarea></td>
					</tr>
					--%>
					<tr>
						<td colspan="2" class="chang_cotactext-d4">
							<input id="chiefSubmit" type="button" onclick="chiefSubForm()" value="确定" class="inputStyle" /> &nbsp;&nbsp; 
							<input id="reset" type="reset" value="取消" class="inputStyle" />
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
	</div>
</body>
</html>





